Returns the size of a file in bytes.
Syntax
FileSize("FilePath")
Arguments
| Argument | Description |
|---|---|
| FilePath | Full path to the file. See Identifying files and directories in statements for information about configuring full paths relative to the workspace or script directory. |
Return value
| Value | Description |
|---|---|
| Value | File size in bytes. |
Example
FileSize("C:\\Testing\\Output.txt")